/**
 * 内置USE集合
 */
import Router from 'vue-router'
import less from 'less'
import 'element-ui/lib/theme-chalk/index.css';
import ElementUI from 'element-ui';
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
import i18n from '../lang/index.js'

export default function run(Vue) {
	Vue.use(VueAwesomeSwiper)
	Vue.use(Router)
	Vue.use(less)
	Vue.use(ElementUI, {
		i18n: (key, value) => i18n.t(key, value)
	})
	return Vue;
}